package com.zhifa.hdtyg_cdgl.dao;

import com.zhifa.hdtyg_cdgl.entity.SiteReservation;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface SiteReservationMapper {
    int deleteByPrimaryKey(Integer siteYyId);
    int insert(SiteReservation record);
    int insertSelective(SiteReservation record);
    SiteReservation selectByPrimaryKey(Integer siteYyId);
    int updateByPrimaryKeySelective(SiteReservation record);
    int updateByPrimaryKeyWithBLOBs(SiteReservation record);
    int updateByPrimaryKey(SiteReservation record);
    List<SiteReservation> findWhentime(Map<String, Object> map);
    List<SiteReservation> findMySiteReservation(SiteReservation siteReservation);
    List<String>findStatus();
    int changeMyYuyueSatus(SiteReservation siteReservation);
    List<SiteReservation> findAllSiteReservation(SiteReservation siteReservation);
    SiteReservation findSiteReservation(SiteReservation siteReservation);
    int updateStatusBysiteYyId(Integer siteYyId);
    int updateStatusByApplicationTimeAndWhenTime(SiteReservation siteReservation);
    int updateWhenTimeStatus(SiteReservation siteReservation);
}